import type { Config } from 'drizzle-kit';
import { env } from '~/env/server';

export default {
  out: './.drizzle',
  schema: './src/lib/db/schema/index.ts',
  breakpoints: true,
  verbose: true,
  strict: true,
  dialect: 'postgresql',
  dbCredentials: {
    url: env.DATABASE_URL,
  },
} satisfies Config;
